import http from '@/utils/http';//导入接口域名列表
import host_one from "./host/host"
const request = {
    user_list(params, callback) {
        http.post(host_one + "/userlist", params, callback)
    },
    add_user(params, callback) {
        http.post(host_one + "/useradd", params, callback)
    },
    edit_user(params, callback) {
        http.post(host_one + "/userupdate", params, callback)
    },
    delete_user(params, callback) {
        http.post(host_one + "/userdelete", params, callback)
    },
    detail_user(params, callback) {
        http.post(host_one + "/userdetail", params, callback)
    }
}
export default request;